using System;
using System.Collections.Generic;
using System.Text;

namespace SubSonic.Enterprise
{
    [Serializable]
    public abstract class EnterpriseRecord<T> : GenericRecord<T> 
        where T : GenericRecord<T>, new()
        //where C : EnterpriseController<T, C>, new()
    {
        public EnterpriseRecord()
            : base()
        {
        }
        
        #region "Loaders"
        // these loader methods will be implemented in descendent classes
        // and will pass through to the Enterprise Controller method
        public abstract void LoadByParam(string columnName, object paramValue);
        
        public abstract void LoadByKey(object keyID);
        
        #endregion

        

    }
}
